HighContrast: Update color button styling
authorMatthias Clasen <mclasen@redhat.com>
Fri, 30 Oct 2015 05:16:49 +0000 (01:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 30 Oct 2015 10:16:10 +0000 (06:16 -0400)
Adapt to the previous commit.

gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk.css

index 33a3883325e3ce13305d828478e0d1266aed621e..2b5aec17defeedf8a1c9374de247aaf381865e71 100644 (file)
@@ -590,7 +590,7 @@ modelbutton.flat,
   &:insensitive { color: $insensitive_fg_color; }
 }
 
-GtkColorButton.button { padding: 4px; } // Uniform padding on the
+button.color { padding: 4px; } // Uniform padding on the
                                         // GtkColorButton.button
 
 /*********
@@ -2382,7 +2382,7 @@ GtkColorSwatch {
 
   // we need to re-set the shadow here since it get axed by the previous bit
   &:selected { box-shadow: $_colorswatch_shadow; }
-  GtkColorButton > & { box-shadow: none; }
+  button.color > & { box-shadow: none; }
 
   // border rounding
   &.top {
index 6c06a4b3ef0ddceb8d7a89018e66cfcabbbd784c..2784e1e84ab065e89ecc3db549979c1b2a87b377 100644 (file)
@@ -777,7 +777,7 @@ modelbutton.flat,
   .menuitem.button.flat:insensitive {
     color: gray; }
 
-GtkColorButton.button {
+button.color {
   padding: 4px; }
 
 /*********
@@ -2592,7 +2592,7 @@ GtkColorSwatch {
       border-color: #fff; }
   GtkColorSwatch:selected {
     box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; }
-  GtkColorButton > GtkColorSwatch {
+  button.color > GtkColorSwatch {
     box-shadow: none; }
   GtkColorSwatch.top {
     border-top-left-radius: 5px;